I think you should try making some eye contact with him. Don't stare him down or be creepy, but if he says something funny, look right into his eyes, smile and laugh. You can do it when he says it to an entire class or to a group of people. If he is a really friendly talkative person he might approach you. It's happened to me before, except there was nothing flirtatious about my encounter (the guy had a girlfriend and I made a fool of myself by not knowing what to say to him, even though he talks to everyone. like he can just go up to anyone and talk to them, it was still hard for me to look at him) but just knowing that a guy you think is attractive acknowledges you and knows you exist is at least a step in the right direction. It doesn't matter if you'll never date him or whatever, I think you should just be happy being you. You could repress how you feel but I do that a lot and it just gets tiring. Stop being so self conscious and enjoy yourself. Eventually, these types of feelings pass.