We can't detect if there are previous and next. In albums, for example, where cursors are nicely implemented, you have both before and after cursors, and can have next or previous links. If these links exists, it means that there are more albums before or after.

However, in comments, you only have the next link that can or cannot exist. Therefore, you cannot navigate backward.