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

Code Example 1

<!--Your comment-->

Code Example 2


	This will work in HTML and XML!

Code Example 3

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

Code Example 4

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

Learn ReactJs, React Native from