So apparently if you smack it all around the sides of the lid with a spoon or something, you can loosen the vacuum seal.
It sounds fake but it worked the other night on a jar of salsa I was legitimately considering just breaking, and I'm still kinda mad that I never knew that til now.
I just insert something long and thin (usually a knife) between the lid and the glass rim, then gently lift just until the pressure is released. Probably doesn't cause the lid to mis-shape as much as from bashing it 😅
Insert the end of a cutlery knife between the rim of the glass jar and lid from below. Give it a tiny wiggle, and the jar will pop open. At least if it's stuck because of a vacuum.
If that didn't work, poke a tiny hole in the lid with a sharp object to break the vacuum, but please be careful if using a kitchen knife for this! A nail or a screw is probably a safer choice.