I use Visual C ++, which makes it very clear in the block #ifdefif the block is compiled or not.
#ifdef
Does this also make Xcode (3), I have not seen how?
Take a look at the following screenshot.
As you can see, Xcode 4 does not apply syntax coloring in parts that will not be compiled.