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