I know that I can kick the the preprocessor to spit out output with the -E option in my particular circumstance. For generated code this preprocessor output is
-E
Emacs has hide-ifdef-mode (I've never had to use it myself, so I can't vouch for its quality)