do i tell him i like him?

so there's this guy in my class who i've liked for 7 months. we are really good friends. there's a chance he could like me back but i really doubt it. i need advice; should i tell him or not? if so, how?