Investors & landlords

No, the loan payoff is not a selling expense, and has nothing to do with your gain or loss.