Sale of business asset

I sold a business asset during 2023. It took a while to get an offer and in the meantime I had to continue paying insurance premiums and storage charges. Should these charges be shown as "expense of sale" on Form 4797 reducing the gain, or reported on Schedule C on the appropriate lines. The asset was taken out of service pending sale. In prior years these costs were obviously reported on Schedule C as an ongoing business cost.