I searched around a lot and it seems it's just TSA that marks notes on boarding passes, with no effect on actual security procedure as you noted, unlike the SSSS note for example.
In this case NG NS could be the inspector's initials, the checkpoint you just passed or checks they've validated.