I think Snape disliked Harry, but I don’t think it was nearly as bad as he displayed in public. I think there was part of him that wanted to like Harry, sure Harry was a reminder of what he’s lost, but he was also a reminder of the good parts of knowing Lily. But given his position in the battle against Voldy Snape couldn’t let even the slightest affection for Harry show through, he had to publicly hate Harry with the every fiber. But I think that core that saw Harry as the last vestige of the only person he ever truly loved showed through on occasion, especially at the end when he wanted Harry to look at him, but even in little things throughout like protecting Harry during the Quidditch match in the first book, teaching Harry occlumency. I don’t think he ever actually like Harry, and I don’t think he ever could have in a different situation, but on some level I think he at least wanted to not hate Harry.