diff --git a/file.c b/file.c
index 4ea8de6d20..41ebf863b6 100644
--- a/file.c
+++ b/file.c
@@ -6063,11 +6063,13 @@ rb_stat_z(VALUE obj)
/*
* call-seq:
- * state.size -> integer
+ * stat.size? -> Integer or nil
*
- * Returns the size of stat in bytes.
+ * Returns +nil+ if stat is a zero-length file, the size of
+ * the file otherwise.
*
- * File.stat("testfile").size #=> 66
+ * File.stat("testfile").size? #=> 66
+ * File.stat("/dev/null").size? #=> nil
*
*/