Skip to content
Prev 157084 / 398506 Next

How can I comment out whole chunks of code?

On 24/09/2008 4:03 PM, Mark Na wrote:
I think there is no solution that lives within your constraints.

If you keep syntactic correctness, you can wrap blocks in

if (FALSE) {
  ...
}

If you switch to a real editor, adding the # prefix to each line would 
not be a problem.

Duncan Murdoch