I have a muscle in the back of my head that hurts when I cough or move my head and comb my hair. Could this be the trigminial nerve?

See below. There are several muscles in the back of your neck that support your head. Coughing or moving your head could apply pressure to these muscles causing pain if you have a painful joint or disk. Trigeminal nerve pain typically causes facial pain.