title: Can you #define a comment in C?
body: <p>I'm trying to do a debug system but it seems not to work.</p>
  
  <p>What I wanted to accomplish is something like this:</p>
  
  <pre><code>#ifndef DEBUG
      #define printd //
  #else
      #define printd printf
  #endif
  </code></pre>
  
  <p>Is there a way to do that? I have lots of debug messages and I won't like to do:</p>
  
  <pre><code>if (DEBUG)
      printf(...)
  
  code
  
  if (DEBUG)
      printf(...)
  
  ...
  </code></pre>