@Brandon ***********
did answer you question.
As long as you go out of Thailand within 60 days, it doesn’t matter how long, you can cross a border out of Thailand, and cross back into Thailand immidiately.
You should use the option to extend every visa excempt entry with 30 days at a Immigration Office, for 1900 baht.
Then fewer bordercrossings, and you will save money.