.. include:: ../../Includes.txt
f:comment
=========
Everything inside an `f:comment` ViewHelper will be removed. ViewHelpers within an `f:comment` block will not be executed.
This ViewHelper is most useful when debugging a website: for example, you can temporarily wrap a `f:for` loop with an
`f:comment` ViewHelper to stop it from being executed.
Properties
----------
This ViewHelper has no properties.
Example
-------
::
This text will not be displayed My name is: {address.firstName}
{address.firstName} lives in city xyz
This text was made by {address.firstName} and will be displayed but not processed.]]> **Output** ::Stefan lives in city xyz
This text was made by {address.firstName} and will be displayed but not processed.
.. tip:: The last row in this example is a special case. By using CDATA notation, you can stop the processing of variable placeholders from being executed. The text will be output, but the placeholder {address.firstName} won't be replaced. This is most common when working with JavaScript in your template, where you may want to output a string containing curly quotes.