From 2002 version of B31.3:
E) Sources of pressure to he considered include ambient influences, pressure oscillations and surges, improper operation, decomposition of unstable fluids, static head, and failure of control devices.
In my mind it means that if the waterhammer analysis limits/defines the design envelope then it is obligatory.