handle nested comments along with the other comments, refs #5