Working on a client's site, I noticed an error when trying to use a duplicate content checker tool. The tool stated that the home page was blocked by robots.txt.
In search console, I can see the robots.txt does indeed contain the lines:
But when I test it, it says "Allowed" for any page I check.
Also worth noting that all pages in sitemap are indexed, no errors/conflicts reported. The only thing I can think of is that the above lines in the robots file are then followed by a link to the sitemap.
Does this then override the Disallow command?