remove redundant lines from comment