comment in xml file code example
Example 1: comment xml line
<!--Your comment-->
Example 2: multi-line comment xml
<!--
This will work in HTML and XML!
-->
Example 3: xml comments
<!-- This is a XML comment. -->
Example 4: xml comment
<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>