Currently this pragma must be specified at body scope (e.g. it cannot be a comment within a statement) and it applies for the duration of the scope. This behavior will likely change in the future.
I couldnt see an issue about this. I expect many users would benefit from being able to apply a disable pragma to individual lines. It would be helpful to have some design input on where per-line pragmas should be placed.
https://github.com/cheshirekow/cmake_format/blob/904c42da298f7fda932d9ac774517c20e2667fb8/cmakelang/doc/lint-inline.rst states:
I couldnt see an issue about this. I expect many users would benefit from being able to apply a disable pragma to individual lines. It would be helpful to have some design input on where per-line pragmas should be placed.