DOMDocument->createComment Create new comment node Description objectDOMDocument->createComment stringdata This function returns a new instance of class DOMComment. The content of the comment is the value of the passed parameter. &dom.node.inserted; The return value is &false; if an error occurred. See also DOMNode->appendChild(), DOMDocument->createElement(), DOMDocument->createTextNode(), DOMDocument->createAttribute(), DOMDocument->createProcessingInstruction().