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