I spritz Clorox bleach in the jar and toss it in the dishwasher. Hand wash the lids with dish soap. Put the used lid away, grab a new one and also spray that with the bleach and rinse then dry with a paper towel.
The jars, once done in the dishwasher, I dry them off and shake them to get the little bits of water out, then put back on the rack to air dry.
I rotate the lids to allow the seal to reset. They also don’t last forever, and this allows me to inspect them before re-use.
I figure the dishwasher sanitizes the glass already, the Clorox just helps with removing the previous tobacco’s stench imo.