In this case the asset is your house, and the liability is your mortgage.
Something does not have to produce income to be an asset. Your house may not be a very “useful” asset, but it IS an asset. That’s my point. But again, if you want to view it as a lousy asset that’s fine.