Client applications and the NETCONF server can insert XML comments at any point between tag elements in the tag stream they generate, but not within tag elements. Client applications must handle comments in output from the NETCONF server gracefully but must not depend on their content. Client applications also cannot use comments to convey information to the NETCONF server, because the server automatically discards any comments it receives.
XML comments are enclosed within the strings <!- - and - ->, and cannot contain the string - - (two hyphens). For more details about comments, see the XML specification at http://www.w3.org/TR/REC-xml.
The following is an example of an XML comment:
- <!- - This is a comment. Please ignore it. - ->