In love with a married man.

Is it wrong to be in love with a married man? He has no clue. Like I’m not doing anything to ruin his marriage but getting to know him as a friend. I have fallen in love with him. I understand I won’t get a chance with him but I just need advice on how to move past these emotions so I can be happy.