addComment

addComment(text: String): JadeXMLComment updating;

The addComment method of the JadeXMLDocument class creates and adds the comment node specified in the text parameter and returns a reference to the created JadeXMLComment node instance.