I tell them that my salary is covered under an NDA and that I cannot disclose it. I don't mention that the non-disclosure agreement is between me, myself, and I.
I can't imagine a situation where you would lose a job offer because you wouldn't disclose your current salary.