[vscode-graphql-syntax] Text on the same line after `#graphql` inside a Javascript string is not formatted as a comment
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
### Description:
Observe the following:

Text on the same line after the first `#graphql` keyword is not formatted as a comment. It can lead to confusion if the code is invalid, but appears valid like this:

### Is there an existing issue for this?
- [X] I have searched the existing issues
**PS:** Please [fix `vscode-syntax-bug.yml`](https://github.com/graphql/graphiql/edit/main/.github/ISSUE_TEMPLATE/vscode-syntax-bug.yml) issue template. It has the above checkbox only. I had to edit the comment to add the description.
Contributor guide
Assessment
This issue has not been assessed yet.