As I showcased in my own bug report its not only stopping comparator from detecting contents but if you place full block over chest then comparator, destroy block over comparator, place block over chest on opposite side of comparator and break first block over chest then remaining it causes comparator to not detect items from chest but chest itself is not being blocked, and you can access its inventory. To make the comparator work again, you need to cause it to update (placing a block next to it works)
As I showcased in my own bug report its not only stopping comparator from detecting contents but if you place full block over chest then comparator, destroy block over comparator, place block over chest on opposite side of comparator and break first block over chest then remaining it causes comparator to not detect items from chest but chest itself is not being blocked, and you can access its inventory. To make the comparator work again, you need to cause it to update (placing a block next to it works)