@Maxim **********
there is no such thing as a marriage visa. You can either apply for a single entry non immigrant O visa based on marriage to a Thai national at a Thai consulate abroad (you get 90 days), or you can apply for a multiple entry non O visa based on being married to a Thai national, which is valid for a year from issue and you get 90 days on each entry (not sold by every consulate). Or if you are in Thailand you can apply for an extension of stay based on being married to a Thai national which would be valid for one year but subject to financial requirements being met.
You can “bounce” out of Thailand and come back in again, just not via land borders as you would have traditionally done pre covid.