1. Long-press on a folder in PDF Viewer
  2. Select "Favorite" in the menu that appears above the folder

Note: Only folders can be added to Favorites, not files. This is a limitation of the Files.app described here: https://discussions.apple.com/thread/8076172

Did this answer your question?