When I create sample code for my students, I often include lots of comments for them, and it would be amazing if there was a simple way to toggle those comments on and off. Once students have processed the comments, hiding them and seeing a streamlined and uncluttered version of the code would be helpful.
If that feature existed, I also suspect that students might be more inclined to add comments to their own code more often.