There's probably a better way to structure your code. There generally is when you wind up with crazy chains of conditions like that (though not always). Without seeing more, though, we can't speak to that.
I would recommend using either arrays or, if you can swing it, the <<switch>> macro. Example of the former.
<<if not ["this", "that", "theother", "thatother"].includes($action)>>
...
This method is a bit easier to manage and a bit shorter to write, but will be a bit slower on performance.
Edit. Greyelf beat me to it, and with a better explanation.