8 – Can a Drupal site administrator display the contents of the settings.php file or another file in the file system?

We use Drupal 8.6.3.

I want to store a configuration in the file system (in settings.php or another file outside Web Root).

Can a Drupal site administrator view this configuration?

Which parts of the settings.php file can be viewed by a Drupal site administrator?