After adjusting for variables in model 3 across all subgroups, a stronger association between the ALT/HDL-C ratio and NAFLD was observed in the subgroup of individuals aged 45 years and above, males, and abdominal obesity. This evidence concerns the gene GPT and Abdominal obesity.