xmlNewDocComment is available since version 1.0.
Prototype:
number xmlNewDocComment(number doc, string content)
Parameters
content
the comment content
Description:
Creation of a new node containing a comment within a document.
Return value:
Returns a handle to the new node or null if failed.