There is no way to arbitrarily remove comments from a program. However, given that comments are used to explain what a specific statement or section of code is doing, they probably should be left there all the time. I realize your comments are serving a different purpose.
If you have a section of debug code that you want in while you're testing some code, but want it removed from the final versions, there is an easy way to do that. Such code, called "scaffolding code" can be removed by something like the following:
Code:
int DEBUG = 1; // Place outside of any method so it's global scope
// ...a bunch of code...
if (DEBUG) { // The section of scaffolding code that you want to remove
MessageBox.Show("The string looks like: " + myData);
}
The way the code is above, you will always be able to view myData at that point in the program. You can add any code you wish in the if statement. Obviously, using the debugger makes viewing myData easy. However, sometimes you want to initialize a variable with a known set of data while testing the code, but remove it when finished. This approach gives you an easy way to toggle the code into and out of the program. When you have the code stabilized, just set DEBUG to 0 and the if statements are no longer executed.
While this is not the answer you wanted, it does allow you to toggle code into and out of a program easily should the need arise.