Check out example codes for "xml comments". It will help you in understanding the concepts better.

Code Example 1

<detail>
    <band height="20">
    <!--
      Hello,
         I am a multi-line XML comment
         <staticText>
            <reportElement x="180" y="0" width="200" height="20"/>
            <text><![CDATA[Hello World!]]></text>
          </staticText>
      -->
     </band>
</detail>

Code Example 2

<!-- This is a XML comment. -->

Learn ReactJs, React Native from akashmittal.com