Hey
That's an interesting perspective. Personally I don't leave lines of commented out code as I opt for cleanliness, but I do keep a journal for each project I do where I write down little gotchas I discover, or paste in a snippet that either works well, or doesn't and the reasons why.