Rather than just commenting code out and letting it rot in the c file, I've started a new file called "code dumpster.c" and dropped the text at the bottom. Then I make a comment about where it came from. It's tidy, searchable, and since the file never touches compilation, real comments are visually distinct from code.
Has anyone else done something like this?





