I think github only updates the comment if the diff nearby has changed, and it seems to not be considering that change to be near-enough by. It's unfortunate that the distance that it snippets is different than the distance it uses for change detection.