The results of multivariate logistic regression analysis showed that serum ATX, GFAP, and NfL levels were independent risk factors for optic neuropathy in DR patients (P < 0.05), and GFAP and NfL were independent protective factors (P = 0.001). This evidence concerns the gene ENPP2 and optic nerve disorder.