Wrote override function for commenting lines.