GREENPOINT — The city is honoring fed-up straphangers' gripes with a full review of the G train line.

After months of heated protests and petitions for better service by residents and politicians, the MTA will examine the line, which runs from Long Island City in Queens to Church Avenue in Kensington, officials announced.

"In response to concerns from our customers, we will conduct a full analysis of the line that we hope to complete by the end of June," MTA spokesman Kevin Ortiz said.

Advocates including the Rider's Alliance grassroots organization and state Sens. Daniel Squadron and Martin Dilan have led the push for more frequent and consistent trains and better communication with riders.

“G train riders spoke. Now, this full line review will give us real answers to lead to real changes," said Squadron in an email, noting that past reviews of the L and F train lines had led to better service. "The MTA deserves great credit for its willingness to continue working together toward the reliable service G train riders deserve."