* Check if a line is a comment (for include_header behavior).
(line: LineRecord)
| 161 | * Check if a line is a comment (for include_header behavior). |
| 162 | */ |
| 163 | function isComment(line: LineRecord): boolean { |
| 164 | const trimmed = line.content.trim() |
| 165 | return COMMENT_PREFIXES.some((prefix) => trimmed.startsWith(prefix)) |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Trim empty lines from the front and back of a line array. |
no outgoing calls
no test coverage detected