IDE's on linux like anjuta and there are many others they also have that feature plus instead of just code it does it for many lines of comments that you can push that plus/minus sign to show or not...