how to xml comment code example Example 1: comment xml line <!--Your comment--> Example 2: xml comments <!-- This is a XML comment. -->