addCommentObject

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

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