This question is not bound to any specific compiler warning, the following is just an example.
Currently when I want a loop that checks an exit condition inside:
My philosophy is that if you make the compiler suppress warnings, put a comment in there and tell why. Even if you think it's silly. Pragma stands out and is visible. It's a fine comment in your code.
When you start skipping comments when suppressing warnings based on your idea on how silly it is, you are heading for potential trouble. Another person working on your code after a year might change it, have trouble and waste precious time hunting it down.
Btw, you are looking for a way of suppressing the warnings without either
That would be a very hidden suppression method.
If you don't like the look of pragma, use
bool alwaysTrue = true; // to prevent compiler warning C4127
while (alwaysTrue) {
...
}