Ran into the same issue. I’d love to see a plugin developed for commented code and/or notes associated with each page/post. The closest I’ve come to finding one is Kahis’s WP-Notes plugin.
I’ve started to use the “Custom Fields” area for storing un-used code. It’s a total hack but it’s worked for what I need.
Hope this helps.