Describe the bug
When a line of MATLAB code with a line continuation (...) has a linting diagnostic message, and you use the Quick Fix to suppress the message, the suppression comment is added to the end of the line. This does not actually suppress the message.
To Reproduce
Steps to reproduce the behavior:
- Enter the following code in a MATLAB file:
- Hover over the blue underline under the second semicolon and select
Quick Fix... > Suppress message NOSEMI on this line.
- Notice that a suppression comment is added to the end of the line, but the blue underline with the linting diagnostic message is still present.
Expected behavior
The suppression comment should be added to the end of the following line to actually suppress the diagnostic.
Screenshots
Current behavior:

Expected behavior:

Useful Information
- MATLAB Version: R2025a
- OS Version: Windows 11
- VS Code Version: 1.105.1