You just put <vb:comment> ... </vb:comment> in a template, around the part that you want to comment out. If you're doing a str_replace or the like on a cached template that won't work, because the cached template has already been compiled so you can't use <vb: tags. The cached template is php, so you might be able to put in /* and */ as long as you make sure you're not putting them in the middle of a string.
|