Rarely, surgery is necessary for neck pain. For example, if a disc has ruptured and is pressing on a nerve or the spinal cord, an operation may be required for significant pain relief. This is usually a last resort and only if symptoms are not improving or are getting worse over time.
Fortunately, your answers do not suggest a condition for which surgery is likely to be recommended.