Advanced fibrosis was the most serious risk factor for all-cause mortality in MASLD, and high C-reactive protein concentration was the most serious risk factor for all-cause mortality in NAFLD, followed by type 2 diabetes. Here, CRP is linked to type 2 diabetes mellitus.