If you’re not currently repaying your loan, it shouldn’t be taken off your Zakat amount. If you’re repaying your loan, only up to 12 lunar months worth of the non-interest portion can be taken off. If repaying the loan will not affect your ability to pay your Zakat, it’s advisable not to take it off.