List<String> removeComments(List<String> lines) { return lines.where((c) => !isSingleLineComment(c)).toList(); }