diff --git a/src/objective-c/GRPCClient/private/GRPCHost.m b/src/objective-c/GRPCClient/private/GRPCHost.m
index 05c72e447de84551a5aa4277c332060762fdc83b..7355139fef02f7bdb71e868720af12160f1bb8f0 100644
--- a/src/objective-c/GRPCClient/private/GRPCHost.m
+++ b/src/objective-c/GRPCClient/private/GRPCHost.m
@@ -71,6 +71,7 @@
   if (![scheme isEqualToString:@"https"] && ![scheme isEqualToString:@"http"]) {
     [NSException raise:NSInvalidArgumentException format:@"URL scheme %@ isn't supported.", scheme];
   }
+  // If the user didn't specify a port (hostURL.port is nil), provide a default one.
   NSNumber *port = hostURL.port ?: [scheme isEqualToString:@"https"] ? @443 : @80;
   address = [@[hostURL.host, port] componentsJoinedByString:@":"];