Hamlet most likely does have feelings for Ophelia, but he is completely preoccupied with his plan to avenge his father. The fact that he consistently pretends to be mad supports the idea that he has feelings for her because his abusive attitude towards her could be a part of this strategy of feigned madness. So, Hamlet is preoccupied and possibly feels that he must hide his feelings to support this façade of madness since it is part of his overall scheme.
Hamlet has also become very hostile to the idea of marriage and women in general. He has transferred these feelings to all women because of his mother’s hasty marriage to Claudius. Hamlet may be preoccupied and faking anger, but I think he is also stubbornly bitter at women in general for what his mother has done. Ophelia is still in love with him. It’s hard to say if Hamlet feels this to the same intensity. Even if he does, it does not match the intensity that he has for revenge, bitterness and grief.