Multiline comments on field in protobuf

Viewed 268

How to write multiline comments for message fields in .proto fields? Official doc is not says about it. For example I have message:

message LocationResponse {
  City city = 1; // city info, will be filled only when `with_city` option is requested
  Country country = 2; // country info, will be filled only when `with_country` option is requested
  repeated Subdivision subdivisions = 3; // subdivisions info, will be filled only when `with_subdivisions` option is requested
}
1 Answers
message LocationResponse {
  // city info, will be filled only when `with_city` 
  // option is requested
  City city = 1; 
  // country info, will be filled only when `with_country` 
  // option is requested
  Country country = 2; 
  // subdivisions info, will be filled only when `with_subdivisions` 
  // option is requested
  repeated Subdivision subdivisions = 3; 
}
Related