diff --git a/src/domain/Script.ts b/src/domain/Script.ts index 4257b47e..9ca6c28b 100644 --- a/src/domain/Script.ts +++ b/src/domain/Script.ts @@ -41,6 +41,9 @@ function mayBeUniqueLine(codeLine: string): boolean { if (trimmed === ')' || trimmed === '(') { // "(" and ")" are used often in batch code return false; } + if (codeLine.startsWith(':: ') || codeLine.startsWith('REM ')) { // Is comment? + return false; + } return true; }