Dude, unfortunately not. Querys often have hundreds or even thousands of lines, it will depend on the size of the database. These are really big files. In Postgres you can better organize the querys using one or several CTE’s (Common Table Expression)
WITH cte AS (
SELECT
tabela1.coluna1,
tabela1.coluna2,
tabela1.coluna3
FROM
schema1.tabela1
)
SELECT * FROM cte
CTE is a temporary table that exists only during query execution.
Reducing the size itself is impossible, but gives to "break" into smaller pieces to assist both reading and execution.