Well, I've seen my late father's teacher's pension payslips. The only deduction was income tax - no sign of NIC. The only caveat would be that they were dated at a time when he was over 80, so well above any mandatory retirement age.
I think it's safe to assume the same for military pensions, unless some of our more venerable members know otherwise..?