xml comment code example Example 1: multi-line comment xml <!-- This will work in HTML and XML! --> Example 2: xml comments <!-- This is a XML comment. -->