• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 How Do You Comment Out A Code in Template?

#5
9. How do I comment in a template to remove existing code or add notes?
Code:
<xen:comment>
This content is commented out
</xen:comment>
Note that using <xen:comment> will prevent the content from being output (rendered) altogether, so it won't show even when viewing the page source.​

Does that mean that the code between the comment will not be executed? Meaning that if I have an error in the code, the code will just be ignored and no run?