# comment

Source: https://zotonic.com/docs/1359/comment

URI: https://zotonic.com/id/1359

Language: en



Ignore part of a template.

Everything between a `{% comment %}` and a `{% endcomment %}` tag is not output.

Example:

```django
This will show.
{% comment %} And this will not show {% endcomment %}
```

This will output:

```django
This will show.
```

An alternative to the `{% comment %}` tag is to use the `{# ... #}` construct:

```django
This will show.
{# And this will not show #}
```

The big advantage of this notation is that the contents of the `{# ... #}` construct don’t need to be grammatically correct, as they will not be parsed. The contents of a `{% comment %}` tag must be correct as they *will* be parsed by the template compiler.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1359?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1359?language=en>)
