In the Harry Potter protagonist trio, Hermione and Ron finally come together, while Harry, as the protagonist, eventually marries Ron's sister Ginny. So, the trio that had been together all year round, and had gone through countless adventures together, had Harry ever liked Hermione? Is it just pure friendship between the two of them?

Let's start with Harry's feelings for Hermione. First of all, to be clear, Harry is a pure super-face controller with very high vision. As a result, he probably didn't pay much attention to Hermione's face—it was Hermione's face, not Emma Watson's face, which grew from small beauty to adulthood. When Harry had just begun his love affair, he found Ravenclaw's seeker Cho Chang very cute at a Quidditch match, and when he was playing, he was soft-hearted, and he was almost won by Cho Zhang. And Qiu Zhang is comparable to Fleur Delacour, a school-wide recognized school flower-level beauty.
Ginny, who had been seen as Ron's sister since childhood, grew up to exude femininity and became a popular beauty, Harry saw that she "had a beast in her heart" and quickly fell in love with her. And Ginny is also a school flower-level beauty, just like he looked at Qiu Zhang, who he didn't know at first glance.
What about Hermione, who spends her days and nights together? It was Harry's brother-in-arms who had carried a gun and fought Voldemort. In the Goblet of Fire, Hermione secretly modified the iconic front teeth with magic, which Harry didn't notice at all. It wasn't until hermione became Krume's dance partner at the Triwizard Tournament that Harry didn't recognize her at first glance, only to realize that "Hermione was a little different."
Until then, when choosing a dance partner, harry and Ron had taken it for granted that no one would invite Hermione, because hermione was not in the "girl" they were thinking about. Later, Ron saw that Krum's dance partner was Hermione, and the whole dance party was bubbling, saying that Krum was the enemy. Harry, on the other hand, had a completely different mindset, and he suddenly found that Hermione was pretty and beautiful, and was happy that his good friend had a world superstar like Krum, and felt that Ron's reaction was inexplicable.
So harry was actually the same to Hermione as he was to Ron, a good brother who could sleep on bunk beds together, without any feminine thoughts. This was especially evident when Harry was dating Akiharu, who was dissatisfied with Harry's intimate relationship with Hermione, and Harry felt inexplicable. Presumably Harry had never thought of Hermione as a girl in Harry's mind.
Did Hermione have any thoughts about Harry? There are only three people in the book who are explicitly favored by Hermione: Lockhart, Krum, and Ron. Lockhart is a beautiful man who is good at packaging himself, and has an invincible attraction for girls who are in the stage of flowering. Krum was hermione's first admiration, and she began to exude her charm, and eventually the two became penpals. But even during her time with Krum, Hermione paid much less attention to Krum than Harry. Hermione's real relationship was actually Ron, and to her, Harry was her brother.
Hermione is a very fraternal girl who will pursue the rights of the house elves, and she can fight Voldemort and find Horcruxes at the risk of her life. Unlike Harry, who was Voldemort's chosen man, only one of the two survived. But Hermione could return to her Muggle world and live her own life. This is similar to Ron, who, as a descendant of an ancient pure-blood family, had no need to risk his life against Voldemort, so Ron and Hermione were actually highly compatible in their thinking.
In Hermione's eyes, Harry is an orphan who lacks family love and is saddled with the "big difficulty of not dying boy" to save the world, so Hermione will help Harry with his homework, deal with his relationship with Akira, and his relationship with Ginny, and finally work together to destroy the Horcrux against Voldemort.
There was friendship and affection between Harry and Hermione, which was an ironclad camaraderie.