In this large population-based prospective cohort study, we found that: (1) a favorable CVH could counteract the risk of diabetes complications and mortality among individuals with type 2 diabetes; (2) an unfavorable CVH reduces life expectancy by almost 7 years at age 45 and 6 years at age 65 compared to a favorable CVH; (3) CRP level partly mediated the associations between CVH metrics and diabetic complications and all-cause mortality. This evidence concerns the gene CRP and diabetes mellitus.