implemented corner case for code blocks containing only comments, comments were previously removed