As a part of the Herschel key programme PRISMAS, we have used the Herschel/HIFI instrument to observe interstellar nitrogen hydrides along the sight-lines towards eight high-mass star-forming regions in order to elucidate the production pathways leading to nitrogen-bearing species in diffuse gas. Here, we report observations towards W49N of the NH N = 1-0, J = 2-1, and J = 1-0, ortho-NH 2 N Ka,Kc J = 1 1,1 3/2-0 0,0 1/2, ortho-NH 3 J K = 1 0 -0 0 and 2 0 -1 0 , para-NH 3 J K = 2 1 -1 1 transitions, and unsuccessful searches for NH + . All detections show absorption by foreground material over a wide range of velocities, as well as absorption associated directly with the hot-core source itself. As in the previously published observations towards G10.6−0.4, the NH, NH 2 and NH 3 spectra towards W49N show strikingly similar and non-saturated absorption features. We decompose the absorption of the foreground material towards W49N into different velocity components in order to investigate whether the relative abundances vary among the velocity components, and, in addition, we re-analyse the absorption lines towards G10.6−0.4 in the same manner. Abundances, with respect to molecular hydrogen, in each velocity component are estimated using CH, which is found to correlate with H 2 in the solar neighbourhood diffuse gas. The analysis points to a co-existence of the nitrogen hydrides in diffuse or translucent interstellar gas with a high molecular fraction. Towards both sources, we find that NH is always at least as abundant as both o-NH 2 and o-NH 3 , in sharp contrast to previous results for dark clouds. We find relatively constant N(NH)/N(o-NH 3 ) and N(o-NH 2 )/N(o-NH 3 ) ratios with mean values of 3.2 and 1.9 towards W49N, and 5.4 and 2.2 towards G10.6−0.4, respectively. The mean abundance of o-NH 3 is ∼2 × 10 −9 towards both sources. The nitrogen hydrides also show linear correlations with CN and HNC towards both sources, and looser correlations with CH. The upper limits on the NH + abundance indicate column densities 2-14% of N(NH), which is in contrast to the behaviour of the abundances of CH + and OH + relative to the values determined for the corresponding neutrals CH and OH. Surprisingly low values of the ammonia ortho-to-para ratio are found in both sources, ≈0.5-0.7 ± 0.1, in the strongest absorption components. This result cannot be explained by current models as we had expected to find a value of unity or higher.