Where is the intervening light in the M87 black hole? The M87 black hole is at the centre, more or less, of an elliptical galaxy of 1 trillion or more stars. So certainly there are stars and other light emitting objects (emission nebula e.g.) in the intervening 53 million light years between earth and the black hole.

How is it that the centre of the black hole image is perfectly dark, as if it is being observed directly, with not one point of light between the black hole and earth? I appreciate that space is mostly empty, but do we really have an unobscured line of sight to a black hole in the centre of an enormous elliptical galaxy?

Does it have something to do with the type of light being observed?
Based on the comment from @SteveLinton

The radius of M87 is given to be 60,000 light years, which is a volume of 900 trillion cubic light years.  Given that it contains roughly one trillion stars, there is an average of 900 cubic light years for each star.

Several resources referred to the diameter of the black hole in the range of 1.5 light days (38 billion km).  That's 0.004 light years.

If you consider the cylinder1 extending from the black hole to the edge of M87, the cylinder is 0.004 light years in diameter with a height of 60,000 light years.  The volume of that cylinder is just over 3 cubic light years.  Since there is one star for every 900 cubic light years, it follows that the cylinder encompassing our line of sight between the black hole and the edge of M87 is empty of any stars.

Whether or not any star would even be bright enough to be visible is another matter.

1 Technically a conic frustum but I don't think the difference in volume is significant.