diff --git a/core/lib/Drupal/Component/Utility/SafeMarkup.php b/core/lib/Drupal/Component/Utility/SafeMarkup.php
index 31df6b0..ac0ff44 100644
--- a/core/lib/Drupal/Component/Utility/SafeMarkup.php
+++ b/core/lib/Drupal/Component/Utility/SafeMarkup.php
@@ -108,6 +108,10 @@ public static function isSafe($string, $strategy = 'html') {
    *   A list of safe strings as previously retrieved by self::getAll().
    *
    * @throws \UnexpectedValueException
+   *
+   * @internal This is called by FormCache, StringTranslation and the Batch
+   *   API. It should not be used anywhere else.
    */
   public static function setMultiple(array $safe_strings) {
     foreach ($safe_strings as $string => $strategies) {
