Jinja2 mode <html style="color: green"> <!-- this is a comment --> <head> <title>Jinja2 Example</title> </head> <body> <ul> {# this is a comment #} {%- for item in li -%} <li> {{ item.label }} </li> {% endfor -%} </ul> </body> </html>