Consistent with the above analysis by categorical values, a non-linear positive correlation was identified between NAFLD risk and TC, TG, LDL-C, non–HDL-C, RC, TyG index, AIP, AC, and CRI (all p total < 0.0001), among which AIP also showed the largest effects, followed by TyG, TG, and AC. Here, AIP is linked to metabolic dysfunction-associated steatotic liver disease.