---
title: "Fluid Syntax: Comments"
manual: "Fluid Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/fluid:comments-syntax"
source: "Syntax/Comments.rst"
rendered: "2026-09-26T08:24:58+00:00"
---

# Fluid Syntax: Comments {#comments-syntax}

If you want to completely skip parts of your template, you can make use of
the [\<f:comment> ViewHelper](https://docs.typo3.org/permalink/fluid:typo3fluid-fluid-comment).

<!-- TODO: no Markdown rendering for "versionchanged" -->

The content of the <f:comment> ViewHelper is removed
before parsing. It is no longer necessary to combine it with CDATA tags
to disable parsing.

```xml
<f:comment>
    This will be ignored by the Fluid parser and will not appear in
    the source code of the rendered template
</f:comment>
```

Since the content of the [\<f:comment> ViewHelper](https://docs.typo3.org/permalink/fluid:typo3fluid-fluid-comment) is completely removed
before parsing, you can also use it to temporarily comment out invalid Fluid syntax while debugging:

```xml
<f:comment>
    <x:someBrokenFluid>
</f:comment>
```
