ido: Experimental support for comments.

refs #4380
ido: Fixes for comments.

refs #4380
ido: Refactor comments code.

refs #4380