Nested comments don't work?

I was wondering why multiline C-style comments don't work?

Code:

/* BEGIN_COMMENT1
/* BEGIN_COMMENT2
*/ END_COMMENT2
*/ END_COMMENT1

The reason I'm asking is, I want to comment out some code in the constructor of my class using the multiline comments, but I had already written some multiline comments as description headers for different things inside the area I want to comment, so I can't just simply wrap it with the multiline comments, and be done with it, because that doesn't work. And its a pain to have to go through the whole function again just to change some comment styles (the function is some 70,000+ lines of code), so is there another way to do this??

Nope they don't work in anything I've ever tried, and there are no plans to change that afaik.
Just put a #if 0 #endif around the code you want to temporarily disable.

Well, I tried that already after reading about it on the web, but the example that they showed was around the function declaration, not inside of a function definition, which is where I need it.
So I'm guessing that doing it inside a function definition is not legal, since doing that produced a whole mess of compiler errors... EDIT: Nevermind...maybe its legal, its just causing other problems.

Originally Posted by WaltP

Since /* ... */ are C-style comment, you should be using the C++ style // comments for your code.

Then when you want to comment out a section, the /* ... */ style will work much better.

Well, I'm actually using both. I used // above less-important sections of code, while /* and */ above more important or bigger sections of code, so that, for instance, I could differentiate the attributes code from the Html tags code, since attribute code is inside Html tag code, and each attribute is a separate entity within the tag. But, anyway, I suppose I could have used ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// in place of that instead, but I didn't know starting out that nesting multiline comments is not allowed.

So now I guess I'll have to write a short little program to do the tedious task of changing comment styles for me, so I wont have to do it all by hand....