addCommentObject

addCommentObject(comment: JadeXMLComment;
                 text:    String): JadeXMLComment updating;

The addCommentObject method of the JadeXMLElement class adds a comment object with the value specified in the text parameter and returns a reference to the added JadeXMLComment object instance.