diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index a3fc859b0663f1945ebbe1f03a93ec61140169fa..57e334cc3ee8e11c87e3ded0a87e8a489922486c 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -412,6 +412,10 @@ class StateStore(SQLBaseStore):
 
         for group, state_ids in group_state_dict.items():
             if types:
+                # We delibrately put key -> None mappings into the cache to
+                # cache absence of the key, on the assumption that if we've
+                # explicitly asked for some types then we will probably ask
+                # for them again.
                 state_dict = {
                     key: None
                     for key in types