How to ask a guy to be your boyfriend

So there is this guy in my class( we are in 8th grade and are going to different high schools) that I really like but I don’t know how to tell him. We are very close to and talk a lot and he always goes to me when he is worried or feels alone. So I don’t want to ruin that between us. Please help