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

DRE

Well-known member
For instance, I want to comment out the sidebar but leave the sidebar stuff in there just in case.
 
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?
 
Top Bottom