Some people like to document what their code does for future use (others think their code is self documenting but that's another topic). The comment tag is for that first group.


In a sense the comment tag swallows up any content that's inside it so it will never be seen again...

{% comment %}
   It's nice being able to write here knowing no one will ever be able to read it...
{% endcomment %}

Note: If you include incorrect Lava inside the comment tag it will produce an error. However, you can use the raw and endraw tags and wrap that with the comment tag to prevent that from happening.