You can enter the 1099-NEC as normal and then enter the 1099-K and back the income out of it.
To enter the 1099 K and then back it out immediately take the following steps:
- Income
- 1099-K under Other Common Income
- Enter the information from the 1099-K
- Check the box that says, This amount in box 1a is too high or includes some personal transactions
- Enter the amount that shouldn't be included