Subjects with NAFLD had a shorter duration of diabetes, higher levels of BMI, FPG, TG, ALT, AST, and HOMA-IR, and lower levels of HDL-C as compared with those without NAFLD in both genders (all P values < 0.05). Here, GPT is linked to diabetes mellitus.