It isn't clear if they count as humans for the Favored Enemy feature, but they are likely separate races. Ask your DM.
The Ranger's Favored Enemy feature says:
Choose a type of favored enemy: [...] you can select two races of humanoid
(such as gnolls and orcs)
Neither example race is present within the Player's Handbook, but both are present in the Dungeon Master's Guide and the Monster Manual. And half-races are only present in the Player's Handbook.
This presents 4 possibilities:
- half-races are included in human
- half-races are included in their non-human lineage
- half-races are included in both lineages
- half-races are not included at all
Personally, I would rule them to be included in their non-human lineage (so half-elf with elf, and half-orc with orc), due to their stat blocks (scores, size, speed, etc), as their blocks lean more toward non-human than human.
Additionally, if you choose to use races both from the monster listings and from the playable races, there are conflicts.
For example, in the playable races (from the Dungeon Master's Guide), races such as Goblins and Hobgoblins are listed separately; but in the Monster Manual, they are all listed under the race of Goblinoid.
If you choose only to use the Dungeon Master's Guide and Player's Handbook races, there end up being multiple omissions. (Gith, Quaggoth, Sahuagin, Shapechangers, Thri-Keen, Yuan-Ti)
However, there is something that seems to support half races counting as separate races:
From the Monster Manual
A variety of humanoids appear throughout this book, but the races
detailed in the Player's Handbook-with the exception of drow-are dealt
with in appendix B. That appendix gives you a number of stat blocks
that you can use to make various members of those races.
So, they could count as sub-races or separate races, depending on the work of your DM. Though you need to work with your DM on which sources to draw from, to avoid conflicting information.