Let W(Γ)be a class of not-finitely graded Lie algebras related to gener-alized Virasoro algebras with basis{Lα,i,C | α ∈ Γ,i ∈ Z+},which satisfies relations[Lα,i,Lβ,j]=(β-α)Lα+β,i+j+(j-i)Lα+β,i+j+1+δα+β,0δi+j,0α3-α/12C and[C,Lα,i]=0.In this paper,W(Γ)-modules of the intermediate series satisfying some conditions are con-structed and classified.We also obtain modules of the intermediate series over the related Lie superalgebra.