Parse comments more intelligently to preserve leading whitespace.