If you are deep in debt, you are not middle class.
While you may fall in the middle of the distribution, when most people say 'middle class' they mean you have a reasonable amount of stability and security in your life.
On a side note, I think all the above are excellent ways of debt.
Right now you can get a mortgage for under 4%. Mortgages typically do not compound interest. So it makes more sense to dump your savings into one of many savings that pay a similar interest rate or higher & do compound interest.
Many car dealers have 0% interest if you want to buy your car & not lease.
Of course any education debt that gets you a salary much higher than the debt makes sense as well.