If you like to use Ren'Py's built in linter like me then these lint errors start to get annoying fast. So I am glad to provide a simple 8 step solution for you guys.
These operations were performed on Ren'Py 8.1.3, your version may vary. If you break your launcher without having a backup to restore from, that's your problem not mine. Do this at your own risk (If you make a backup first you should be completely fine).
1. Inside of your Ren'Py launcher folder find renpy/text/extras.py
2. I suggest making a backup just in case. Copying extras.py to extras.py.bac should do.
3. Open extras.py in your preferred code/text editor.
4. Find:
if text not in all_tags:
return "Text tag '%s' is not known." % text
In my case it's on line 117 (If not Ctrl+F is your friend)
5. Replace lines 117 and 118 with:
if text not in all_tags:
if text.startswith("if "):
continue
elif text.startswith("elif "):
continue
return "Text tag '%s' is not known." % text
6. Restart the Ren'Py launcher.
7. Lint your project in peace.
8. Profit???
It would be nice if Feniks or someone else could figure out a way to implement this via a one time patch script.