Many times we’ve been involved in a similar situation:
- someuser – “I don’t want people to comment my post, but I cannot figure out which part of the code I should strip out, could you help me?”
- twobeers – “NO!”
Ok, ok, I’m joking
Actually there’s no need to modify theme’s or WP’s files to disable (and enable), comments or trackbacks/pingbacks.