XmlDocument.createComment

XmlComment createComment(string data) @safe

Creates a comment node.