#define DEBUG


#ifdef DEBUG
. Some code here
#endif

Comment out the #define DEBUG when compiling for end users.