This population-based study provides novel evidence for an association between the CRP/HDL-c ratio and the risk of HUA in patients with diabetes or prediabetes. Here, CRP is linked to diabetes mellitus.