The Coalition has called on Bill Shorten to distance himself from union boss John Setka over comments linking a new building code to Nazi Germany.

Speaking at an enterprise bargaining meeting at Melbourne's Festival Hall on Wednesday, the controversial Construction, Forestry, Mining and Energy Union state secretary said members should support a proposed deal that will deliver 30,000 workers above-inflation pay increases for the next three years.

Victorian CFMEU secretary John Setka at a protest in April. Credit:Jesse Marlow

Mr Setka said the deal should be approved before the July 2 federal election to lock in improved pay and conditions for workers.