using a litmus paper only,how would you distinguish between HN4 and NaCl

I wonder if you meant NH4^+. At any rate, NaCl is neutral in solution and the other compound will not be neutral.