Also includes proposed fix for BrianGarland/vscode-rpgfree#45 (if PR #65 is rejected, I can take that line out of this, alternatively if happy with 65 then feel free to kill that one and use this as a two for one.)
Don't split line into line & comment if the whole line is a comment.
(The comment element was then being overwritten later around line 239, whereas with this the whole line will be turned into a comment.)
Fix for BrianGarland/vscode-rpgfree#56
Also includes proposed fix for BrianGarland/vscode-rpgfree#45 (if PR #65 is rejected, I can take that line out of this, alternatively if happy with 65 then feel free to kill that one and use this as a two for one.)
Don't split line into line & comment if the whole line is a comment.
(The comment element was then being overwritten later around line 239, whereas with this the whole line will be turned into a comment.)