Here is what I do
I have a programmers editor (something like UltraEdit), and this is what I do.
<!-- my comments as to whyt I'm commenting this code out
<block of code I want commented out>
<block of code I want commented out>
-->
The secret is to replace the "<" and ">" characters in the block with other characters. This way, the parser isn't having to work hard to keep its place in the file. I use "~" and "^". So my code ends up looking like this.
<!-- comment before clock of code
~block of code I want commented out^
~block of code I want commented out^
-->
Using a programmers editor, it is easy to do a global search and replace within a selected area of code.
|