add inline code comments

Add the ability to add inline comments to code snippets.

Tested on IE9, Firefox 18.0.1 and Chrome 24.0.1312.57 m