Why are there so many angry comments on this thread?
I use this sort of trick all of the time when debugging, but I rarely commit any commented out code as a matter of principle.
Nobody was suggesting using this for "ghetto source control" or that this is an alternative to compiler directives.
Can't we just be polite and say "Cool hack, but obviously don't commit this type of code", instead of getting out the pitchforks?