The first example of a "good" program contains an if statement that should only ever branch in one direction. I question whether that is a "good" program.
1. Add a comment around the whole block. This may not always work, as comments within the block may need to be removed.
2. Add string delimiters before and after the block, making the block an in-place string literal. This can be broken by strings within the block.
3. Use a goto statement to skip the block. This is a pretty good method but you have to worry about the label getting moved, and fellow developers laughing at you for using goto.
4. Wrap the block with a big if (false) { }. This is the most bullet proof method, but it violates your goodness criteria.