I don't know about NJ specifically. What happens when you report it on Form 8949 with an "L" adjustment to block the loss?
My NJ go-to is @Skylane so maybe he can help.