For example, I have a reasonably complex logic brick layout and I would like to write a comment on some logic bricks so I can remember what they do. So it acts similarly to commenting code in Python with a # or """.

I was envisioning a small "comment" button on the outside left-bottom corner of the Sensor, that you can click on to add/edit a comment.