unrented rental

I stopped renting in late 2019 and worked on it for 2020. then in march I sold it.  looking ahead to 2021 tax return, is it better to claim 0 income for 2020 and claim the expenses (including taxes, depreciation, interest, etc) or should I just say that I took it out of service for 2020 and not claim any expenses including depreciation. would I be better off due to depreciation recapture issues to not keep it in service for 2020?