WriteComment Method
WriteComment is a low-level method that writes an XML comment to the file previously opened by WriteStartDocument().
This method has the following syntax:
integer = XMLDocument.WriteComment(string = StringObject)
This method has the following parameter:
string
(Required) Specifies the comment string
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes.