Q:

Omitting inline ASM code in C source code

While using MS VC98, is there a way to omit compiling inline ASM code in a C source ? 

A:

There's no magic switch built into the compiler to do this.  You'll have to do it with the pre-processor and I can't see any alternative to wrapping all such blocks in #ifdef.