A 17-year-old boy allegedly committed suicide after four men purportedly assaulted him and urinated on his face in Captainganj area of Basti district, police said on Tuesday.