I was nearly 17stone before I shedded something pounds. I have a 2018 Trek Fuel and it’s max weight I believe is 300lb which is just over 21st.
My shock pressures are not at max and it has 3 settings on the rear and the front can be very much tuned to weight.
I do more XC than trials but do a mix of both and it’s been fine. It’s carried me 70miles from London to Brighton in relative comfort!
Feel free to message if you need any more details.