If you pay off your spouse's debts before you get married would that improve your joint credit rating?

There is no such thing as a joint credit rating or joint credit score. Even when two people apply for credit together, their credit is pulled and scores are provided separately. These two separate reports can be merged into one single credit report, but look closely; you will still see separate scores on each bureau for them.